<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台主页面</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>pages/news/first_page/style/backstage.css"" media="all" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>pages/news/first_page/style/leftmenu.css" media="all" />
<script type="text/javascript" src="<%=basePath%>pages/news/js/jquery-1.5.1.min.js"></script>
<script>
    $(document).ready(function () {
        $('#accordion li').click(function () {
            //slideup or hide all the Submenu
            $('#accordion li').children('ul').slideUp('fast');	
            //remove all the "Over" class, so that the arrow reset to default
            $('#accordion li > a').each(function () {
                if ($(this).attr('rel')!='') {
                    $(this).removeClass($(this).attr('rel') + 'Over');	
                }
            });
            //show the selected submenu
            $(this).children('ul').slideDown('fast');
            //add "Over" class, so that the arrow pointing down
            $(this).children('a').addClass($(this).children('li a').attr('rel') + 'Over');			
        });
    });
</script>
</head>

<body>
<div class="top"><img src="<%=basePath%>pages/news/first_page/images/top.gif" alt="" /></div>
<div class="topmenu">
    当前用户：${usersession.name }
    <span class="span1">角色：<c:choose>
									<c:when test="${usersession.popleType==0}">超级管理员</c:when>
									<c:when test="${usersession.popleType==1}">高级管理员</c:when>
									<c:otherwise>一般管理员</c:otherwise>
								</c:choose></span>
</div>


<div class="center">
	<div class="centerleft">
        <img src="<%=basePath%>pages/news/first_page/images/lefttitle.gif" class="lefttitle" alt="" />
        <div class="fix"></div>
        <div class="leftmenu">
            <ul id="accordion">
<!--                <li>
                    <a href="#" class="popular">Popular Post</a>
                    <ul>
                        <li><a href="#">查看企业类型</a></li>
                        <li><a href="#">添加企业</a></li>
                        <li><a href="#" class="last">查看企业</a></li>
                    </ul>
                </li>
-->                <li>
                    <a href="#" class="category">用户管理</a>
                    <ul>
                        <li><a href="<%=basePath%>login_user/full_news_people/" target=iframe>用户列表</a></li>
                        <li><a href="<%=basePath%>login_user/viewget_people/" class="last" target=iframe>新建用户</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#" class="comment">新闻管理</a>
                    <ul>
                        <li><a href="<%=basePath%>news_view/news_list" target=iframe>新闻列表</a></li>
                        <li><a href="<%=basePath%>news_type/" class="last" target=iframe>新建新闻</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
	<div class="centerright">
    	<div class="right_top"><img src="<%=basePath%>pages/news/first_page/images/system.gif" width="91" height="26" /></div>
    	<div class="right_left"></div>
    	<div class="right_center">
<!--            <fieldset class="fieldset">
                <legend class="legend">健康信息：</legend>
                <form class="form">
                     网站名称：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<input type="text" /><br />
                     网站网址：<textarea name="" cols="" rows=""></textarea><br />
                     网站网址：<textarea name="" cols="" rows=""></textarea><br />
                     网站网址：<textarea name="" cols="" rows=""></textarea><br />
                </form> 
            </fieldset>-->
					<iframe width="100%" height="100%" frameborder=0 name=iframe
						src="<%=basePath%>news_view/news_list/"></iframe>
				</div>
    	<div class="right_right"></div>
    	<div class="right_bottom"></div>
    </div>
</div>
</body>
</html>